<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css" href="css/login2.css">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="js/jquery.min.js"></script>

    <title>小米商城首页</title>
</head>
<body>
<%@ include file="header.jsp"%>
<!--网站中间内容开始-->
<div id="thred">
    <img src="image/banner2.jpg" width="1230" height="460" />
</div>
<div id="forth">
   		<span>
        	<a href=""><img src="image/hjh_01.gif" /></a>
            <a href=""><img src="image/hjh_02.gif" /></a>
            <a href=""><img src="image/hjh_03.gif" /></a>
            <a href=""><img src="image/hjh_04.gif" /></a>
            <a href=""><img src="image/hjh_05.gif" /></a>
            <a href=""><img src="image/hjh_06.gif" /></a>
        </span>
    <a href="" id="a_left"><img src="image/hongmi4x.png" width="316" height="170" /></a>
    <a href="" id="a_left"><img src="image/xiaomi5.jpg" width="316" height="170" /></a>
    <a href="" id="a_left"><img src="image/pinghengche.jpg" width="316" height="170" /></a>
</div>
<div id="fifth">
    <span id="fif_text">小米明星单品</span>
</div>
<div id="sixth">
    <c:forEach items="${goodsList}" var="goods">
            <span style="margin-left:0px; border-top:#ffa500 1px solid">
            	<a href="${pageContext.request.contextPath }/goods?method=detail&id=${goods.id}" id="siximg"><img src="${goods.picture}" width="234" height="234" /></a>
            	<a href="${pageContext.request.contextPath }/goods?method=detail&id=${goods.id}" id="na">${goods.name}</a>
                <p id="pri">${goods.price}</p>
            </span>
    </c:forEach>

</div>
<!-- 底部 -->
<%@ include file="footer.jsp"%>
</body>
</html>